﻿using BaiTu.Framework.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaiTu.IEventServices
{
    public interface IEventBusProvider
    {
        void Publish(IEvent evt);
        //void Subscribe(Type evtType);
        /// <summary>
        /// 订阅某个类型
        /// </summary>
        /// <param name="evtClassType"></param>
        void Subscribe(string evtClassType);
    }
}
